home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-04-05 | 975 b | 27 lines | [TEXT/KAHL] |
- // File "aevents.h" - Header for Apple Events Handlers
- // This header file is Copyright Matt Slot & Slot-Machines Ltd., © 1993
-
- #ifndef ____AEVENTS_HEADER_____
- #define ____AEVENTS_HEADER_____
-
- #include <AppleEvents.h>
-
- // * **************************************************************************** * //
-
- typedef struct AEHandlers {
- AEEventClass theClass;
- AEEventID theEvent;
- EventHandlerProcPtr theProc;
- } AEHandlers;
-
- // * **************************************************************************** * //
- // * **************************************************************************** * //
-
- pascal short AEHandlerOAPP(AppleEvent *event, AppleEvent *reply, long refCon);
- pascal short AEHandlerODOC(AppleEvent *event, AppleEvent *reply, long refCon);
- pascal short AEHandlerPDOC(AppleEvent *event, AppleEvent *reply, long refCon);
- pascal short AEHandlerQUIT(AppleEvent *event, AppleEvent *reply, long refCon);
- void InitHLEvents(void);
-
- #endif ____AEVENTS_HEADER_____
-